package com.Drools.CIPS.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class DroolsReturn {
    private Boolean bo = true;
    private String errorSeverity;//异常等级
    private String errorCode;//异常码
    private String errorTest;//异常描述
    public DroolsReturn(Boolean bo){
        this.bo=bo;
    }
    public void setAll(String errorSeverity,String errorCode,String errorTest){
        this.bo = false;
        this.errorSeverity = errorSeverity;
        this.errorCode = errorCode;
        this.errorTest = errorTest;
    }
}
